<div id="form_leave"> 
	<div class="weui-cells">
        <div class="weui-cell">
		    <div class="weui-cell__hd">
		    	<span style="color: red;">*</span>合同编号
		    </div>
		    <div class="weui-cell__bd">
		      <input class="weui-input" v-model="submitJson.component[2].value"  style="text-align: right;" type="number" pattern="[0-9]*" placeholder="请输入">
		      	<div v-show="false" data-text="外出时间不能为空" :data-false="/^\s*$/g.test(submitJson.component[2].value)" ></div>
		    </div>
		</div>
	</div>
    <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="javascript:;">
            <div class="weui-cell__bd">
                <p><span style="color: red;">*</span>签约时间</p>
            </div>
            <div class="weui-cell__ft">
            	 <mu-date-picker v-model="submitJson.component[0].value" ></mu-date-picker>
            	 <div v-show="false" data-text="开始时间不能为空" :data-false="/^\s*$/g.test(submitJson.component[0].value)" ></div>
            </div>
        </a>
    </div>
    <div class="weui-cells">
        <div class="weui-cell">
		    <div class="weui-cell__hd">
		    	<span style="color: red;">*</span>我方单位名称
		    </div>
		    <div class="weui-cell__bd">
		      <input class="weui-input" v-model="submitJson.component[2].value"  style="text-align: right;" type="number" pattern="[0-9]*" placeholder="请输入">
		      	<div v-show="false" data-text="外出时间不能为空" :data-false="/^\s*$/g.test(submitJson.component[2].value)" ></div>
		    </div>
		</div>
	</div>
	<div class="weui-cells">
        <div class="weui-cell">
		    <div class="weui-cell__hd">
		    	我方负责人
		    </div>
		    <div class="weui-cell__bd">
		      <input class="weui-input" v-model="submitJson.component[2].value"  style="text-align: right;" type="number" pattern="[0-9]*" placeholder="请输入">
		      	<div v-show="false" data-text="外出时间不能为空" :data-false="/^\s*$/g.test(submitJson.component[2].value)" ></div>
		    </div>
		</div>
	</div>
	<div class="weui-cells">
        <div class="weui-cell">
		    <div class="weui-cell__hd">
		    	<span style="color: red;">*</span>对方单位名称
		    </div>
		    <div class="weui-cell__bd">
		      <input class="weui-input" v-model="submitJson.component[2].value"  style="text-align: right;" type="number" pattern="[0-9]*" placeholder="请输入">
		      	<div v-show="false" data-text="外出时间不能为空" :data-false="/^\s*$/g.test(submitJson.component[2].value)" ></div>
		    </div>
		</div>
	</div>
	<div class="weui-cells">
        <div class="weui-cell">
		    <div class="weui-cell__hd">
		    	对方负责人
		    </div>
		    <div class="weui-cell__bd">
		      <input class="weui-input" v-model="submitJson.component[2].value"  style="text-align: right;" type="number" pattern="[0-9]*" placeholder="请输入">
		      	<div v-show="false" data-text="外出时间不能为空" :data-false="/^\s*$/g.test(submitJson.component[2].value)" ></div>
		    </div>
		</div>
	</div>
	<form-repeat class="approval-form-repeat" btntext="+增加明细" v-on:getrepeat="repeatFn" init='[{"name":"内容","value":""}]'>
		 <template slot-scope="props">
		 	 <div class="weui-cells">
				<div class="weui-cells__title"><span style="color: red;">*</span>内容</div>
				<div class=" weui-cells_form">
				  <div class="weui-cell">
				    <div class="weui-cell__bd">
				      <textarea class="weui-textarea" v-model="props.o[0].value"  placeholder="请输入" rows="3"></textarea>
				      <div v-show="false" data-text="内容不能为空" :data-false="/^\s*$/g.test(props.o[0].value)" ></div>
				    </div>
				  </div>
				</div>
		    </div>
		</template>
	</form-repeat>
    <upload_tpl v-on:getfile="getFilefn" name="图片" ></upload_tpl>
    <dingding_users v-on:getdingdinguser="getApproveUsers" :approve_list="approve_list" :cc_list="cc_list" message="approve" title="审批人"></dingding_users>
    <dingding_users v-on:getdingdinguser="getCopyUsers" :approve_list="approve_list" :cc_list="cc_list"  message="cc" title="抄送人"></dingding_users>
    <div class="submit_warp">
    	<button class="submit_btn" v-touch:tap="submitFn">提交</button>
    </div>
</div>
